package com.gree.flowable.app.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Map;

@ApiModel(description = "启动流程VO")
public class StartProcessInstanceMO implements Serializable {

    @ApiModelProperty("流程定义key 必填")
    private String processDefinitionKey;

    @ApiModelProperty("业务系统主键id 必填")
    private String businessKey;

    @ApiModelProperty("启动流程变量 必填,即使传空值")
    private Map<String, Object> variables;

    @ApiModelProperty("申请人工号 必填")
    private String currentUserCode;

    @ApiModelProperty("系统标识 选填")
    private String systemSn;

    @ApiModelProperty("表单名称 必填")
    private String formName;

    @ApiModelProperty("流程提交人工号 选填")
    private String creator;

    public String getProcessDefinitionKey() {
        return processDefinitionKey;
    }

    public void setProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
    }

    public String getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(String businessKey) {
        this.businessKey = businessKey;
    }

    public Map<String, Object> getVariables() {
        return variables;
    }

    public void setVariables(Map<String, Object> variables) {
        this.variables = variables;
    }

    public String getCurrentUserCode() {
        return currentUserCode;
    }

    public void setCurrentUserCode(String currentUserCode) {
        this.currentUserCode = currentUserCode;
    }

    public String getSystemSn() {
        return systemSn;
    }

    public void setSystemSn(String systemSn) {
        this.systemSn = systemSn;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
}
